//	链接参数编码

export const encryptParam = ( data ) => {
	return window.btoa( window.encodeURIComponent( data ) );
};

export const decryptParam = ( data ) => {
	return window.decodeURIComponent( window.atob( data ) );
};